package com.weizhu.swufer.core.exception;

public class RpcBizException extends RuntimeException{

    private int bizRetry;

    public RpcBizException() {
        super();
    }

    public RpcBizException(String msg) {
        super(msg);
    }

    public RpcBizException( String message, Throwable cause) {
        super(message, cause);

    }

    public RpcBizException(int bizRetry, String message, Throwable cause) {
        super(message, cause);
        this.bizRetry = bizRetry;
    }

    public RpcBizException(int data, String msg) {
        super(msg);
        this.bizRetry = data;

    }

    public int getBizRetry() {
        return bizRetry;
    }
}
